import Http from "../utils/Http";

export default class CategoryModel extends Http {

  getMenuData(category_id) {
    return this.request({
      // url: '/h5/category/category-by-parent',
      // 改成一级分类
      url: '/h5/category/product-by-category',
      data: {
        // parent_id
        category_id
      }
    })
  }

}
